package com.tinyseed.hmxx.admin.system.domain.query;

import com.tinyseed.hmxx.common.annotation.Query;
import lombok.Data;

import java.sql.Timestamp;

/**
 * 公共查询类
 */
@Data
public class RoleQueryCriteria {

    // 多字段模糊
    @Query(blurry = "name,remark")
    private String blurry;

    @Query(type = Query.Type.GREATER_THAN, propName = "createTime")
    private Timestamp startTime;

    @Query(type = Query.Type.LESS_THAN, propName = "createTime")
    private Timestamp endTime;
}
